import layoutHeaderAside from '@/layout/header-aside'

const meta = { auth: true }

export default {
    path: '/insulin',
    name: 'insulin',
    meta,
    redirect: { name: 'insulin-index' },
    component: layoutHeaderAside,
    children: (pre => [
        {
            path: 'index',
            name: `${pre}index`,
            component: () => import('@/pages/insulin/index'),
            meta: { ...meta, title: '胰岛素泵品牌管理' }
        },
        {
            path: 'model',
            name: `${pre}model`,
            component: () => import('@/pages/insulin/PumpModel'),
            meta: { ...meta, title: '胰岛素泵型号管理' }
        },
    ])('insulin-')
}
